package com.hh.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName user_collection
 */
@TableName(value ="user_collection")
@Data
public class UserCollection implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     * 
     */
    @TableField(value = "articleId")
    private Long blogId;

    /**
     * 
     */
    @TableField(value = "createdTime")
    private Date createdTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}